package yrjdezu.abab.engineerpractice2.service;

import com.baomidou.mybatisplus.extension.service.IService;
import yrjdezu.abab.engineerpractice2.domain.dto.UserDTO;
import yrjdezu.abab.engineerpractice2.domain.entity.Users;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author lzh
 * @since 2025-05-18
 */
public interface IUsersService extends IService<Users> {

    /**
     * 用户登录
     *
     * @param userDTO
     * @return
     */
    Users login(UserDTO userDTO);
    
    /**
     * 用户注册
     *
     * @param userDTO
     * @return
     */
    Users register(UserDTO userDTO);
}
